CornerRadius
Parameters
topLeftX
Top left radius for x-axis.
topLeftY
Top left radius for y-axis.
topRightX
Top right radius for x-axis.
topRightY
Top right radius for y-axis.
bottomRightX
Bottom right radius for x-axis.
bottomRightY
Bottom right radius for y-axis.
bottomLeftX
Bottom left radius for x-axis.
bottomLeftY
Bottom left radius for y-axis.
Constructors
Link copied to clipboard
Corner radius configuration.
Link copied to clipboard
Corner radius configuration.
Link copied to clipboard
fun CornerRadius( topLeft: Float, topRight: Float, bottomRight: Float, bottomLeft: Float)
Content copied to clipboard
Corner radius configuration.
Link copied to clipboard
Functions
Link copied to clipboard
Interprets that the current values are expressed in density-independent pixels (dp) and converts them to pixels (px) according to the device screen density.
Link copied to clipboard
Converts the corner radius values to radii (array of 8 values, 4 pairs of (X,Y))